package com.c39.otc.open.api.users.model;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: JiaLing.Fan
 * @Date: 2022/11/15 10:29
 * @Description:
 */
@Data
public class PowerInfo implements Serializable {


    /**
     * 权限名称
     */
    private String name;

    /**
     * 权限编码
     */
    private String num;

    /**
     * 父级权限id(0表示最顶级)
     */
    private Long pid;


    /**
     * 菜单
     */
    private String menu;

    /**
     * 图标
     */
    private String icon;

    /**
     * 0|启用  1|禁用
     */
    private Integer enable;

    /**
     * 0|系统 1|目录 2|菜单 3|按钮
     */
    private String type;

    /**
     * 描述
     */
    private String description;

    /**
     * 子节点数据
     * @mock [
     *  {
     *         staffSex": "string",
     *         "staffEmail": "string",
     *         "orgName": "string",
     *         "realName": "string",
     *         "staffName": "string",
     *         "staffNumber": "string",
     *         "staffPhone": "string",
     *         List<PowerVO> children}
     *         ]
     */
    private List<PowerInfo> children;





}
